﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EIA.PM.BLL
{
    public interface IXStaffRolesBlp
    {
        /// <summary>
        /// 修改员工的角色
        /// </summary>
        /// <param name="stf_id"></param>
        /// <param name="role_ids"></param>
        /// <returns></returns>
        bool Update(int stf_id, IList<int> role_ids);

        /// <summary>
        /// 更新多个员工角色
        /// </summary>
        /// <param name="stf_ids"></param>
        /// <param name="roles"></param>
        /// <returns></returns>
        bool UpdateMany(IList<int> stf_ids, IList<int> role_ids);

        Tuple<int, IList<int>> List(int stf_id);
    }
}
